import QtQuick 2.4

import Qt.labs.controls 1.0
import QtQuick.Layouts 1.1
import "../template" as Template

Template.PopupFrame {
    id: pop
    title: "添加测试项"
    contentHeight: 140
    signal okTriggered()
    property alias testContent: textField.text
    Pane {
        ColumnLayout {
            id: col
            anchors.fill: parent
            anchors.margins: 9
            spacing: 12
            RowLayout {
                anchors.fill: parent
                Label {
                    text: "内容"
                }
                TextField {
                    id: textField
                    Layout.fillWidth: true
                }
            }
        }
    }

    onClicked: {okTriggered ()}
}
